//
//  SkillListVC.h
//  EVETracker
//
//  Created by Scott Guyer on 7/30/08.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum {
	SkillListViewModeBrowser,
	SkillListViewModePilot
} SkillListViewMode;

@class Character;

@interface SkillListVC : UIViewController <UITableViewDelegate, UITableViewDataSource>
{
	IBOutlet UITableView*			tableView;
	UINavigationController*         navVC;
	
	NSMutableDictionary*            skillData;
	NSArray*                        skillRows;
	
	SkillVC*                        skillVC;
	
	Character*                      pilot;
	
	SkillListViewMode               viewMode;

}

@property(nonatomic,retain) UITableView*    tableView;
@property(nonatomic,retain) UINavigationController* navVC;


- (void) loadAllSkills ;
- (void) loadSkillsInGroup:(NSString*)groupName withId:(NSUInteger)groupId ;

- (void) updateViewWithData:(NSDictionary*)data ;
- (void) loadSkillsInGroup:(NSString*)groupName fromPilot:(Character*)pilot ;

- (void) jenny ;

@end
